package stark.app.function.more;

import android.widget.ImageView;
import android.widget.TextView;

import com.hjq.bar.TitleBar;
import com.stark.more.about.AboutActivity;

import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import stark.app.R;
import stark.app.databinding.ActivityCustomAboutBinding;
import stark.common.basic.utils.StatusBarUtils;

/**
 * Author：daizhongbin on 2021/5/17
 * Email：1027154338@qq.com
 * Desc: 自定义“关于我们”界面
 */
public class CustomAboutActivity extends AboutActivity<ActivityCustomAboutBinding> {

    @Override
    protected int onCreate() {
        StatusBarUtils.setStatusTransparent(this);
        StatusBarUtils.setSystemStatusTextColor(false, this);
        return R.layout.activity_custom_about;
    }

    @Override
    protected void initData() {
    }

    @Nullable
    @Override
    protected ImageView getAppLogoView() {
        return mDataBinding.ivAppLogo;
    }

    @Nullable
    @Override
    protected TextView getAppVerView() {
        return mDataBinding.tvAppVer;
    }

    @NonNull
    @Override
    protected TitleBar getTitleBar() {
        return mDataBinding.titleBar;
    }

}
